package com.liujun.spring4.demo.aop.iocset.beanscope.postconstruct;

import org.springframework.stereotype.Component;

/**
 * @author liujun
 * @version 1.0
 * @date 2018-08-15 19:08:00
 */
@Component
public class Car {

    private String brond;

    private String color;

    private int maxSpeed;

    public String getBrond() {
        return brond;
    }

    public void setBrond(String brond) {
        this.brond = brond;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getMaxSpeed() {
        return maxSpeed;
    }

    public void setMaxSpeed(int maxSpeed) {
        this.maxSpeed = maxSpeed;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Car{");
        sb.append("brond='").append(brond).append('\'');
        sb.append(", color='").append(color).append('\'');
        sb.append(", maxSpeed=").append(maxSpeed);
        sb.append('}');
        return sb.toString();
    }
}
